package com.qqt.csr.route.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qqt.csr.route.entity.RouteDistributionRule;
import java.util.List;

import com.qqt.csr.route.vo.req.QueryingRouteRuleReqVO;
import org.apache.ibatis.annotations.Param;

public interface RouteDistributionRuleMapper extends BaseMapper<RouteDistributionRule> {
    int updateBatch(@Param("list") List<RouteDistributionRule> list);

    int updateBatchSelective(@Param("list") List<RouteDistributionRule> list);

    int batchInsert(@Param("list") List<RouteDistributionRule> list);

    IPage<RouteDistributionRule> page(Page<Object> objectPage,@Param("query")  QueryingRouteRuleReqVO data);
}